Subdomain redirects to subdirectory [duplicate]

Posted by redraw on Pro Webmasters See other posts from Pro Webmasters or by redraw
Published on 2014-06-10T16:12:27Z Indexed on 2014/06/10 21:48 UTC
Read the original article Hit count: 139

Filed under:
|

Supposing I have folder called "support" inside root folder "/public_html". I've added a subdomain in my server's panel so that when going to "support.mydomain.com" it redirects to "mydomain.com/support"

The problem is that redirection is reflected on the browser's address bar, and I want to make that subdomain work like "base domain". i.e "support.mydomain.com/folder-inside-support"

Is it something to be with .htaccess file?

© Pro Webmasters or respective owner

Related posts about subdomain

Related posts about subdirectory